package com.warm.spring.ioc.factory;

import com.warm.spring.bean.skill.ObamaSkill;
import com.warm.spring.bean.skill.Skill;

/**
 * @Description 静态工厂方法
 * @Author iyb-liangchuang
 * @Date 2021/5/20 11:07
 */
public class StaticSkillFactory {

    private static Skill skill = new ObamaSkill();

    public static Skill createInstance(){
        return skill;
    }
}
